package com.authorityManagement.service;

import com.authorityManagement.entity.User;
import com.authorityManagement.vo.TokenVo;
import com.authorityManagement.vo.UserVo;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface UserService extends IService<User> {
      Map<String,Object> login(User user);
      
      TokenVo refreshToken(String token);
      
      UserVo queryUserInfo();
      
      void logout(HttpServletRequest request, HttpServletResponse response);
}
